import http from '@/utils/request'
const URL = '/pigeon/t-inv-slaugherhouse';

export function getAllInfoByPage(current,  limit, type) {
  return http({
      url:`${URL}/getPageByType/${current}/${limit}/${type}`,
      method: 'get',
  })
}
export function getInfoByBatch(current,  limit, shBatch) {
  return http({
      url:`${URL}/getPageTO/${current}/${limit}/${shBatch}`,
      method: 'get',
  })
}

// 模糊查询
export function fuzzySearchReq(){
  return http({
      url:`${URL}/getAllType`,
      method: 'get',
  })
}
